#pragma once

#include "linedisplay.h"
#include "Utility.h"

// CLDCheckDlg dialog
class CLDCheckDlg : public CDialog
{
	DECLARE_DYNAMIC(CLDCheckDlg)

public:
	CLDCheckDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CLDCheckDlg();

	void SetDeviceName(const CString& strDeviceName) {m_strLDName = strDeviceName;}

// Dialog Data
	enum { IDD = IDD_DLG_CHECK_LD };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	virtual BOOL OnInitDialog();

	afx_msg LRESULT OnInitSO(WPARAM wParam, LPARAM lParam);

	DECLARE_MESSAGE_MAP()

public:
	CLinedisplay m_LD;

private:
	CString m_strLDName;
public:
	afx_msg void OnBnClickedBtnExit();
	afx_msg void OnBnClickedBtnDisplay();
	afx_msg void OnBnClickedBtnClearText();
};
